<?php
// 类自动加载
function __autoload($className) {
    require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . str_replace('\\', '/', $className).'.php';
}

$config = require_once('./config/main.php');
(new \mvc\web\Application())->run($config);